package dagbok.entity;

import java.sql.Date;

import javax.swing.JOptionPane;

import dagbok.data.TareaDAO;

public class Main {
	public static void main(String args[]) {
		Object[] opciones = {"Ingresar","Registrar fin","Modificar","Mostrar","Historial","Salir"};
		int op;
		op=JOptionPane.showOptionDialog(null, "Option", "DagBok", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE, null, opciones, "Salir");
		
		switch(op) {
			case 0: ingresarTarea();
					break;
		}
				
	}
	
	public static void ingresarTarea() {
		TareaDAO ses = new TareaDAO();
		int id;
		String desc;
		Date fec_ini,fec_fin;
	}
/*	public static void ingresarTarea() {
		try {			
		
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}
*/	
	
}
